package com.ytzl.itrip.service;
import com.ytzl.itrip.pojo.ItripUser;
import com.ytzl.itrip.common.Page;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

public interface ItripUserService {

public ItripUser getItripUserById(@Param(value = "id") Long id)throws Exception;

public List<ItripUser> getItripUserListByMap(Map
                                                     <String, Object> param)throws Exception;

public Integer getItripUserCountByMap(Map
                                              <String, Object> param)throws Exception;

public Integer saveItripUser(ItripUser itripUser)throws Exception;

public Integer modifyItripUser(ItripUser itripUser)throws Exception;

public Integer removeItripUserById(@Param(value = "id") Long id)throws Exception;
public Page<ItripUser> queryItripUserPageByMap(Map
                                                       <String, Object> param, Integer pageNo, Integer pageSize)throws Exception;
public Integer removeItripUserByIds(@Param(value = "ids") Long[] ids)throws Exception;
}
